
package com.tuanzi.loan.business.service.galaxycard;

import com.tuanzi.loan.business.entity.galaxycard.GalaxyCardPrivilegeStatus;
import com.tuanzi.loan.vo.request.galaxycard.GalaxyCardPrivilegeStatusSearchRequest;
import com.tuanzi.loan.vo.response.galaxycard.GalaxyCardPrivilegeStatusSearchResponse;
import com.tuanzi.loan.core.vo.PageSearcher;
import org.springframework.data.domain.Page;

import java.util.Map;

/**
 * 权益状态管理 ServiceInterface
 * @author JinRuiyang 2018/2/9 17:22:35
 */
public interface GalaxyCardPrivilegeStatusService {
    /**
     * GalaxyCardPrivilegeStatus查询
     * @param pageSearcher 请求信息
     * @return 响应列表
     */
    Page<GalaxyCardPrivilegeStatusSearchResponse> list(PageSearcher<GalaxyCardPrivilegeStatusSearchRequest> pageSearcher);

    Map<String, Long> getPrivilegeList();

    void add(GalaxyCardPrivilegeStatus status);

    void edit(GalaxyCardPrivilegeStatus status);

    GalaxyCardPrivilegeStatus findById(Long id);

    void delete(Long id);
}
